package com.code.bean;

/**
 * bean的生命周期
 *
 * @author wangjie
 * @version V1.0
 * @date 2020/1/6
 */
public class Food {

    public Food(){
        System.out.println("food constructor");
    }

    public void init(){
        System.out.println("food init");
    }

    public void detory(){
        System.out.println("food detory");
    }
}
